package priv.lhy.user;

import priv.lhy.dto.*;

/**
 * author : lihy
 * date : 2019/1/29 14:38
 * <p>
 * 用户操作类
 */
public interface IUserCoreService {

    /**
     * 用户登录
     *
     * @param request
     * @return
     */
    UserLoginResponse login(UserLoginRequest request);

    /**
     * token校验
     *
     * @param request
     * @return
     */
    CheckAuthResponse validToken(CheckAuthRequest request);

    /**
     * 用户注册
     *
     * @param request
     * @return
     */
    UserRegisterResponse register(UserRegisterRequest request);
}
